package com.tanhua.dubbo.api;

import com.tanhua.model.domain.mongodb.Comment;
import com.tanhua.model.domain.mongodb.CommentType;

import java.util.List;

/**
 * @author maorf
 * @version 1.0
 */
public interface CommentApi {
    List<Comment> findComments(String movementId, CommentType comment, Integer page, Integer pagesize);

    Integer save(Comment comment1);

    Boolean hasComment(String movementId, Long userId, CommentType like);

    Integer delete(Comment comment);
}
